﻿using System;
using System.Collections.Generic;
using System.Linq;


namespace Colorful.Models
{
    /// <summary>
    /// 通用收藏表
    /// </summary>
    public class Favorite : BaseId
    {
        /// <summary>
        /// 用户唯一Id
        /// </summary>
        public string UserId { get; set; }
        /// <summary>
        /// 目标Id
        /// </summary>
        public string TargetId { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 缩略图
        /// </summary>
        public string Photo { get; set; }
        /// <summary>
        /// 简介
        /// </summary>
        public string Intro { get; set; }
        /// <summary>
        /// 链接地址
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public long ByOrder { get; set; }
    }
}